﻿using JESAI.Application.Abstractions.Dtos;
using JESAI.Application.Abstractions.DynamicApi.Dtos;
using JESAI.Application.Abstractions.Sys.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Application.Abstractions.Sys
{
    public interface IDynamicDataSourceService
    {
        Task DeleteDynamicDataSource(string id);
        Task DeleteDynamicDataSources(string[] ids);
        Task<DynamicDataSourceDto> GetDynamicDataSource(string id);
        Task<List<DynamicDataSourceDto>> GetDynamicDataSources(string[] ids);
        Task<BasePageOutput<List<DynamicDataSourceDto>>> QueryPageDynamicDataSources(QueryDynamicDataSourcePageParam param);
        Task SetDynamicDataSource(DynamicDataSourceInput input);
    }
}
